package id.net.iconpln.bb.server;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import id.net.iconpln.bb.client.service.StockRPCService;
import id.net.iconpln.bb.server.service.PortService;
import id.net.iconpln.bb.server.service.StockService;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;

@Repository
public class StockRPCServiceImpl extends RemoteServiceServlet implements StockRPCService{
	@Autowired private StockService stockService;
	@Override
	public List<Map> getListStock(String kode, Map map) {
		// TODO Auto-generated method stub
		return stockService.getListStock(kode, map);
	}

	@Override
	public List<Map> insertStock(String kode, Map map) {
		// TODO Auto-generated method stub
		return stockService.insertStock(kode, map);
	}

}
